package com.thinkit.bigdata.web.service.impl.sys;

import com.thinkit.bigdata.core.feature.orm.mybatis.Page;
import com.thinkit.bigdata.web.dao.sys.SysFileServerStatusMapper;
import com.thinkit.bigdata.web.model.result.HtmlResult;
import com.thinkit.bigdata.web.model.sys.SysFileServerStatus;
import com.thinkit.bigdata.web.model.sys.SysFileServerStatusExample;
import com.thinkit.bigdata.web.service.sys.SysFileServerStatusService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SysFileServerStatusServiceImpl implements SysFileServerStatusService {

    @Resource
    private SysFileServerStatusMapper mapper;

    @Override
    public HtmlResult selectByExampleWithBLOBs(Page<SysFileServerStatus> page, SysFileServerStatusExample example) {
        return HtmlResult.success(mapper.selectByExampleWithBLOBs(page, example), page.getTotalCount());
    }
}
